import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path:"/login",
    name:"login",
    component:()=>import("../views/login.vue")
  },
  
  {
    path:'/curriculumManagement',
    name:'curriculumManagement',
    component:()=>import('../views/curriculumManagement.vue'),
  },
  {
    path:'/curriculumManagement/curriculumManagementList',
    component:()=>import('../components/curriculumManagementList.vue')
  },
  {
    path:'/curriculumManagement/curriculumManagementListForm',
    component:()=>import('../components/curriculumManagementListForm.vue')
  },
  {
    path:'/curriculumManagement/curriculumManagementList/processAssessment.vue',
    name:'processAssessment',
    component:()=>import('../components/processAssessment.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
